package com.xms.queryview.event;

import com.xms.event.core.ObjectCreatedEvent;
import com.xms.schema.entity.Attribute;
import com.xms.schema.entity.Entity;

import java.util.List;

/**
 * <p>
 * 创建默认视图事件
 * </p>
 *
 * @author migo
 * @since 2021/9/29
 */
public class CreateDefaultViewEvent extends ObjectCreatedEvent<Entity> {
    public List<Attribute> attributes;

    public CreateDefaultViewEvent(Entity entity, List<Attribute> attributes) {
        super(entity);
        this.attributes = attributes;
    }
}
